home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 04r.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-02  |  2.2 KB  |  88 lines

  1. on startMovie
  2.   global gCursorReady, gKnobState, gMagCursor, gsearchOn, qtChan, gKnobSprite, gSendMovie, gCurrentLocation
  3.   puppetSprite(44, 1)
  4.   gCursorReady = 1
  5.   gMagCursor = "magCursor"
  6.   gCurrentLocation = 4
  7.   puppetSound(0)
  8.   gSendMovie = "04r"
  9.   qtChan = 35
  10.   sprite(qtChan).volume = 256
  11.   cast("liqmem").directToStage = 1
  12.   preLoad(qtChan - 1)
  13.   initGlobals()
  14.   gKnobSprite = 17
  15.   setUpKnob()
  16.   if gsearchOn = 1 then
  17.     sprite(6).visible = 1
  18.   else
  19.     sprite(6).visible = 0
  20.   end if
  21.   set the mouseDownScript to EMPTY
  22.   set the mouseUpScript to EMPTY
  23. end
  24.  
  25. on stopMovie
  26.   puppetSprite(38, 0)
  27.   puppetSprite(29, 0)
  28. end
  29.  
  30. on idle
  31.   global gCursorReady
  32.   if gCursorReady = 1 then
  33.     cursor(200)
  34.     checkCursors()
  35.     set the locH of sprite 44 to the mouseH
  36.     set the locV of sprite 44 to the mouseV
  37.     updateStage()
  38.   end if
  39. end
  40.  
  41. on checkCursors
  42.   global gMagCursor
  43.   set the castNum of sprite 44 to the number of member "curs1"
  44.   if rollOver(5) then
  45.     set the castNum of sprite 44 to the number of member "hotCursor"
  46.   end if
  47.   if rollOver(22) then
  48.     set the castNum of sprite 44 to the number of member "hotCursor"
  49.   end if
  50.   if rollOver(7) then
  51.     set the castNum of sprite 44 to the number of member "deMagCursor"
  52.   end if
  53.   repeat with i = 8 to 12
  54.     if rollOver(i) then
  55.       set the castNum of sprite 44 to the number of member "hotCursor"
  56.     end if
  57.   end repeat
  58.   repeat with i = 14 to 21
  59.     if rollOver(i) then
  60.       set the castNum of sprite 44 to the number of member "hotCursor"
  61.     end if
  62.   end repeat
  63.   repeat with i = 24 to 25
  64.     if rollOver(i) then
  65.       set the castNum of sprite 44 to the number of member "hotCursor"
  66.     end if
  67.   end repeat
  68.   if rollOver(26) then
  69.     set the castNum of sprite 44 to the number of member "linkCurs"
  70.   end if
  71.   repeat with i = 27 to 28
  72.     if rollOver(i) then
  73.       set the castNum of sprite 44 to the number of member "hotCursor"
  74.     end if
  75.   end repeat
  76.   if rollOver(36) then
  77.     set the castNum of sprite 44 to the number of member "hotCursor"
  78.   end if
  79.   if rollOver(37) then
  80.     set the castNum of sprite 44 to the number of member "nonCursor"
  81.   end if
  82.   repeat with i = 40 to 42
  83.     if rollOver(i) then
  84.       set the castNum of sprite 44 to the number of member "hotCursor"
  85.     end if
  86.   end repeat
  87. end
  88.